/*
 * Copyright(c) 2018-? the original author[Wien(luweien@aliyun.com)] or authors.
 *
 */
package org.doll.it.sequence;

import org.springframework.boot.context.properties.ConfigurationProperties;

import lombok.Data;

/**
 * 属性配置
 * 
 * @author Wien(luweien@aliyun.com)
 *
 */
@Data
@ConfigurationProperties(prefix = "doll.sequence")
public class DollSequencePorperties {

	private static final long DEFAULT_INSTANCE_ID = 0L;

	/**
	 * 是否启用。默认值：是
	 */
	private Boolean enabled = true;

	/**
	 * 实例ID
	 */
	private Long instanceId = DEFAULT_INSTANCE_ID;

}
